//
//  TLGifAniButton.h
//  FunnyVideo
//
//  Created by 李鑫 on 15/10/14.
//  Copyright © 2015年 NewEggTech. All rights reserved.
//
/**
 *  This is a class inhe
 */

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    TLAniBtnAniTypeSlantMove,
    TLAniBtnTypePop,
} TLAniBtnType;

@interface TLGifAniButton : UIButton

@property (nonatomic,assign) BOOL on;
@property (nonatomic,assign) BOOL triggerOnTouch;

@property (nonatomic,strong) UIImage *aniMask;
@property (nonatomic,strong) UIImage *highlightImg;
@property (nonatomic,strong) UIImage *normalImg;

@property (nonatomic,strong) NSString *aniMaskName;
@property (nonatomic,strong) NSString *highlightImgName;
@property (nonatomic,strong) NSString *normalImgName;

- (void)select;
- (void)unselect;
//手动执行动画
- (void)invoke;
@end
